package com.flyqiu.flow.api.script;

/**
 * 变量存储器
 */
public interface IVarSerialize {
    /**
     * 类型
     *
     * @return
     */
    String type();

    boolean isType(FlyQiuFlowVarSerializeManage manage, Object val);

    VarSerialize serialize(FlyQiuFlowVarSerializeManage manage, Object val);

    Object deserialize(FlyQiuFlowVarSerializeManage manage, String val);
}
